﻿using System.Collections.Generic;
using UnityEngine;

//2-1中，使两个激光复位
public class Trigger_B : TriggerArea
{
    [SerializeField]
    private List<Laser> lasers;

    protected override void OnEnter(Collider2D collider)
    {
        foreach (Laser laser in lasers)
        {
            laser.MyReset();
        }
    }
}
